package com.diorsunion.hedge.dal.repository;

import com.diorsunion.hedge.common.BaseRepository;
import com.diorsunion.hedge.common.Period;
import com.diorsunion.hedge.dal.entity.Stock;
import com.diorsunion.hedge.dal.entity.StockPrice;
import com.diorsunion.hedge.dal.entity.StockPriceEx;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * Created by custe on 2016/4/26.
 */
public interface StockPriceExRepository extends BaseRepository<StockPriceEx, Integer> {
    Date getMaxDate(@Param("stock") Stock stock, @Param("thedate") Date thedate, @Param("period") Period period);
}
